package com.lbd.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lbd.common.utils.PageUtils;
import com.lbd.gulimall.product.entity.SpuInfoEntity;
import com.lbd.gulimall.product.vo.spu.SpuSaveVO;

import java.math.BigDecimal;
import java.util.Map;

/**
 * spu信息
 *
 * @author linbd
 * @email 2236000738@qq.com
 * @date 2021-06-04 17:54:12
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVO spuInfo);

    PageUtils queryByCondition(Map<String, Object> params);

    void up(Long spuId);

    void updatePublishStatus(Long spuId, Integer publishStatus);

    BigDecimal getWeight(Long skuId);
}

